﻿using System.ComponentModel;
using System.Windows;

namespace ttg_internal.Utilities.UsageVisualizer.View
{
    /// <summary>
    /// Interaction logic for MainView.xaml
    /// </summary>
    public partial class MainView
    {
        /// <summary>
        /// Inititalizes a new instance
        /// </summary>
        public MainView()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Processes closing of the window and raises the <see cref="Window.Closed" /> event
        /// </summary>
        protected override void OnClosing(CancelEventArgs e)
        {
            base.OnClosing(e);

            e.Cancel = true;
            Hide();
        }
    }
}
